package com.hq.ims.data.dao;

import com.hq.ims.data.entity.BusInfoForewarning;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hq.ims.data.vo.BusInfoForewarningMapstruct;
import com.hq.mybatis.base.page.RequestPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 经营信息预警表 Mapper 接口
 *
 * @author 蒋柏平
 * @since 20241114
 */
public interface BusInfoForewarningMapper extends BaseMapper<BusInfoForewarning> {

    RequestPage<BusInfoForewarningMapstruct.BusInfoForewarningVo> pageList(@Param("page") RequestPage<BusInfoForewarningMapstruct.BusInfoForewarningVo> page,
                                                                           @Param("searchVo") BusInfoForewarningMapstruct.PageSearchVo searchVo);

    List<BusInfoForewarningMapstruct.BusInfoForewarningVo> getBusInfoForewarningList(@Param("searchVo") BusInfoForewarningMapstruct.PageSearchVo searchVo);

    RequestPage<BusInfoForewarningMapstruct.ForewarningCompanyVo> getCompanyPageList(@Param("page") RequestPage<BusInfoForewarningMapstruct.ForewarningCompanyVo> page,
                                                                                     @Param("searchVo") BusInfoForewarningMapstruct.PageSearchVo searchVo);
}
